<template>
    <div>
         <div id="mychart"></div>
    </div>
</template>

<script>
import echarts from 'echarts'
import weeks from '../common/week'
export default {
    mounted (){
     this.drawEcharts()
   },
   methods:{
    drawEcharts(){
        let mycharts = echarts.init(document.getElementById('mychart'))
        mycharts.setOption(weeks);
    }
    

   }
}
</script>

<style>
    #mychart{
        width: 1500px;
        height: 800px;
    }
</style>